﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Family
{
    class Grandparent : Person
    {
        protected int Money=3000;

        public Grandparent()
        {
            this.Name = "Sam";
            this.Age = 75;
        }
        public virtual int GetOwnMoney()
        {
            return Money;
        }

        public string GetInfo()
        {
            return "[" + Name + "：" + Age + "]";
        }
    }
}
